package com.ssd.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ssd.dto.TaskDetailsDto;
import com.ssd.entity.TaskDetails;

import java.util.List;

/**
 * TaskDetailsService 类
 *
 * @title:
 * @requirement:
 * @ClassName:
 * @author:首雯静
 * @creationTime:2024/12/20/16:59
 * @version: 1.0
 */
public interface TaskDetailsService extends IService<TaskDetails> {
    /**
     * 获取工单详细信息
     * @param taskId
     * @return
     */
    public List<TaskDetails> getListByTaskId(Long taskId);

    /**
     * 批量保存工单详细信息
     * @param taskId
     * @param taskDetailsDtoList
     * @return
     */
    public boolean createTaskDetails(Long taskId, List<TaskDetailsDto> taskDetailsDtoList);
}
